package com.online_mall.commodity.dao;

import com.online_mall.commodity.entity.Commodity;

import java.util.List;

/**
 * (Commodity)表数据库访问层
 *
 * @author makejava
 * @since 2025-09-02 15:03:04
 */
public interface CommodityDao {

    List<Commodity> queryAll(Commodity commodity);

    int insert(Commodity commodity);

    int update(Commodity commodity);

    int deleteById(String commodityId);

    int addHeat(String commodityId);

    int addShopping(Commodity commodity);

    int deleteShopping(Commodity commodity);

}